package com.ruoyi.project.module.phone.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 手机表 phone
 * 
 * @author ruoyi
 * @date 2018-11-12
 */
public class Phone extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 文章ID */
	private Integer phoneId;
	/** 手机型号 */
	private String name;
	/** 手机品牌 */
	private String type;
	/** 手机价格 */
	private Double price;
	/** 手机跑分 */
	private Integer score;
	/** 手机出厂时间 */
	private Date beginTime;
	/** 手机尺寸 */
	private Double size;
	/** 像素 */
	private String px;
	/** 电池 */
	private Integer battery;
	/** 芯片 */
	private String chip;
	/** 无线充电 */
	private String wuxian;
	/** 容量 */
	private Integer volumes;
	/** 解锁方式 */
	private String fingerprint;
	/** 重量 */
	private Double weight;
	/** 网络格式 */
	private String sim;
	/** 充电接口 */
	private String scoket;
	/** 图片地址 */
	private String img;
	/** 评星分数 */
	private Float star;
	/** 评星次数 */
	private Integer starSumCount;

	public void setPhoneId(Integer phoneId) 
	{
		this.phoneId = phoneId;
	}

	public Integer getPhoneId() 
	{
		return phoneId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setPrice(Double price) 
	{
		this.price = price;
	}

	public Double getPrice() 
	{
		return price;
	}
	public void setScore(Integer score) 
	{
		this.score = score;
	}

	public Integer getScore() 
	{
		return score;
	}
	public void setBeginTime(Date beginTime) 
	{
		this.beginTime = beginTime;
	}

	public Date getBeginTime() 
	{
		return beginTime;
	}
	public void setSize(Double size) 
	{
		this.size = size;
	}

	public Double getSize() 
	{
		return size;
	}
	public void setPx(String px) 
	{
		this.px = px;
	}

	public String getPx() 
	{
		return px;
	}
	public void setBattery(Integer battery) 
	{
		this.battery = battery;
	}

	public Integer getBattery() 
	{
		return battery;
	}
	public void setChip(String chip) 
	{
		this.chip = chip;
	}

	public String getChip() 
	{
		return chip;
	}
	public void setWuxian(String wuxian) 
	{
		this.wuxian = wuxian;
	}

	public String getWuxian() 
	{
		return wuxian;
	}
	public void setVolumes(Integer volumes) 
	{
		this.volumes = volumes;
	}

	public Integer getVolumes() 
	{
		return volumes;
	}
	public void setFingerprint(String fingerprint) 
	{
		this.fingerprint = fingerprint;
	}

	public String getFingerprint() 
	{
		return fingerprint;
	}
	public void setWeight(Double weight) 
	{
		this.weight = weight;
	}

	public Double getWeight() 
	{
		return weight;
	}
	public void setSim(String sim) 
	{
		this.sim = sim;
	}

	public String getSim() 
	{
		return sim;
	}
	public void setScoket(String scoket) 
	{
		this.scoket = scoket;
	}

	public String getScoket() 
	{
		return scoket;
	}
	public void setImg(String img) 
	{
		this.img = img;
	}

	public String getImg() 
	{
		return img;
	}
	public void setStar(Float star) 
	{
		this.star = star;
	}

	public Float getStar() 
	{
		return star;
	}
	public void setStarSumCount(Integer starSumCount) 
	{
		this.starSumCount = starSumCount;
	}

	public Integer getStarSumCount() 
	{
		return starSumCount;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("phoneId", getPhoneId())
            .append("name", getName())
            .append("type", getType())
            .append("price", getPrice())
            .append("score", getScore())
            .append("beginTime", getBeginTime())
            .append("size", getSize())
            .append("px", getPx())
            .append("battery", getBattery())
            .append("chip", getChip())
            .append("wuxian", getWuxian())
            .append("volumes", getVolumes())
            .append("fingerprint", getFingerprint())
            .append("weight", getWeight())
            .append("sim", getSim())
            .append("scoket", getScoket())
            .append("img", getImg())
            .append("star", getStar())
            .append("starSumCount", getStarSumCount())
            .toString();
    }
}
